<div class="workouts form">
<?php echo $form->create('Workout');?>
	<fieldset id="workout-form">
 		<legend><?php echo __('Add Workout on', true). ' ' . date( Configure::read('Workout.viewDateFormat') ,$time->toUnix($this->data['Workout']['date']) );?></legend>

		<?php echo $this->element('../workouts/elements/add_edit', array('auto_update'=>true)); ?>
		
	</fieldset>
<?php echo $form->end('Submit');?>
<?php echo $html->link(__('Cancel and go back', true), array('action'=>'index'), array('class'=>'nyroModalClose cancel'))?>
</div>



